package com.mysql.opt.indexmerge.service.impl;

import com.mysql.opt.indexmerge.entity.OrderDetail;
import com.mysql.opt.indexmerge.entity.OrderInfo;
import com.mysql.opt.indexmerge.mapper.OrderDetailMapper;
import com.mysql.opt.indexmerge.service.OrderDetailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OrderDetailServiceImpl implements OrderDetailService {

    @Resource
    private OrderDetailMapper detailMapper;

    @Override
    public List<OrderInfo> queryList(OrderInfo orderInfo) {
        return null;
    }

    @Override
    public int saveBatch(List<OrderDetail> details) {
        return detailMapper.saveBatch(details);
    }
}
